YooKassa\Request\Payments\CreatePaymentRequest B

Total Complexity 93
Dependencies 13
Dependents 2
Total lines 621
Lines of code 278
Logical lines of code 118
Comment lines 233
Methods 41
Properties 13

Methods 41

Method Rating Maintainability Complexity Lines of code
validate()
S
56 7 21
setMetadata()
S
60 6 13
setDeal()
S
60 6 13
setDescription()
S
55 5 20
setMerchantCustomerId()
S
55 5 20
setConfirmation()
S
57 5 17
setPaymentToken()
S
57 5 17
setRecipient()
S
64 5 9
setSavePaymentMethod()
S
60 4 14
setPaymentMethodData()
S
60 4 14
setPaymentMethodId()
S
60 4 14
setClientIp()
S
62 4 11
setCapture()
S
62 4 11
hasMetadata()
S
78 2 3
getDeal()
S
82 1 3
hasDeal()
S
80 1 3
getMerchantCustomerId()
S
82 1 3
getMetadata()
S
82 1 3
hasMerchantCustomerId()
S
80 1 3
setAirline()
S
81 1 3
hasAirline()
S
81 1 3
getAirline()
S
82 1 3
hasClientIp()
S
80 1 3
getRecipient()
S
82 1 3
getClientIp()
S
82 1 3
getPaymentMethodData()
S
82 1 3
getDescription()
S
82 1 3
hasDescription()
S
80 1 3
getPaymentToken()
S
82 1 3
hasPaymentToken()
S
80 1 3
getPaymentMethodId()
S
82 1 3
hasPaymentMethodId()
S
80 1 3
hasPaymentMethodData()
S
80 1 3
hasCapture()
S
80 1 3
getConfirmation()
S
82 1 3
hasConfirmation()
S
80 1 3
getSavePaymentMethod()
S
82 1 3
hasSavePaymentMethod()
S
80 1 3
hasRecipient()
S
80 1 3
getCapture()
S
82 1 3
builder()
S
80 1 3